using System;
using System.ComponentModel.DataAnnotations;

namespace ThridGroup.ERP.DTO.TransferTransfersDto
{
    /// <summary>
    /// 创建转移调拨DTO
    /// </summary>
    public class CreateTransferTransfersDto
    {
        /// <summary>
        /// 转移单编号
        /// </summary>
        [Required(ErrorMessage = "转移单编号不能为空")]
        public string TransferCode { get; set; }

        /// <summary>
        /// 转移单名称
        /// </summary>
        [Required(ErrorMessage = "转移单名称不能为空")]
        public string TransferName { get; set; }

        /// <summary>
        /// 转移单类型
        /// </summary>
        [Required(ErrorMessage = "转移单类型不能为空")]
        public string TransferType { get; set; }

        /// <summary>
        /// 移出仓库
        /// </summary>
        [Required(ErrorMessage = "移出仓库不能为空")]
        public string RemoveRepository { get; set; }

        /// <summary>
        /// 移入仓库
        /// </summary>
        [Required(ErrorMessage = "移入仓库不能为空")]
        public string MoveWarehouse { get; set; }

        /// <summary>
        /// 转移日期
        /// </summary>
        [Required(ErrorMessage = "转移日期不能为空")]
        public DateTime TransferDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
} 